package com.banksoft.cps.service;

import com.banksoft.cps.bean.SupplierOrder;
import com.banksoft.cps.bean.common.ServiceException;
import com.banksoft.cps.bean.query.SupplierOrderQuery;
import com.banksoft.cps.bean.warpper.SupplierOrderWarpper;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
public interface SupplierOrderService {

    List<SupplierOrder> list(SupplierOrderQuery query);

    List<SupplierOrderWarpper> listWarpper(SupplierOrderQuery query);

    long count(SupplierOrderQuery query);

    void save(SupplierOrder bean) throws ServiceException;

    SupplierOrder findById(String id);

}
